package com.jtcl.module.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jtcl.enums.OrderState;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author sjt
 * @since 2021-02-26 13:03
 */
@Data
@ToString
@TableName("jtcl_order")
@AllArgsConstructor
public class OrderDTO {


    private String id;

    private OrderState state;

    private Date createTime;

    private Date updateTime;

    public OrderDTO(OrderState state) {
        this.state = state;
    }

    public OrderDTO() {
    }
}



